package ua.kozlovsky.Class.Loader;
import java.io.*;

public class Test {
	public static void main(String[] args) throws Exception {
		TestModule t = new TestModule();
		for(;;) {
			ClassLoader loader= new DynamicClassOverloader(new String[] {"."});
		    Class clazz= Class.forName("TestModule",true,loader);
		    Object object= clazz.newInstance();
		    System.out.println(object);
		    new BufferedReader(new InputStreamReader(System.in)).readLine();
		}
	}//End method main()
}//End class Test